<?php
namespace common\models\trade;
use common\models\BaseModel;
/*
	团队奖模式配置表

*/

class TradeTeamBonusModel extends BaseModel
{

	public static function tableName()
	{
		return '{{%trade_team_bonus}}';
	}

	public function rules()
	{
		return [
			[['condition'],'string'],
			[['grade','model_id','bonus_type'],'integer'],
			[['grade','rate'],'required'],
			[['rate','pj_rate','bonus_type'],'safe'],
		];
	}


}